ai-parrot 0.1.0__cp311-cp311-manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ai-parrot might be problematic. Click here for more details.

Files changed (108) hide show
  1. ai_parrot-0.1.0.dist-info/LICENSE +21 -0
  2. ai_parrot-0.1.0.dist-info/METADATA +299 -0
  3. ai_parrot-0.1.0.dist-info/RECORD +108 -0
  4. ai_parrot-0.1.0.dist-info/WHEEL +5 -0
  5. ai_parrot-0.1.0.dist-info/top_level.txt +3 -0
  6. parrot/__init__.py +18 -0
  7. parrot/chatbots/__init__.py +7 -0
  8. parrot/chatbots/abstract.py +965 -0
  9. parrot/chatbots/asktroc.py +16 -0
  10. parrot/chatbots/base.py +257 -0
  11. parrot/chatbots/basic.py +9 -0
  12. parrot/chatbots/bose.py +17 -0
  13. parrot/chatbots/cody.py +17 -0
  14. parrot/chatbots/copilot.py +100 -0
  15. parrot/chatbots/dataframe.py +103 -0
  16. parrot/chatbots/hragents.py +15 -0
  17. parrot/chatbots/oddie.py +17 -0
  18. parrot/chatbots/retrievals/__init__.py +515 -0
  19. parrot/chatbots/retrievals/constitutional.py +19 -0
  20. parrot/conf.py +108 -0
  21. parrot/crew/__init__.py +3 -0
  22. parrot/crew/tools/__init__.py +22 -0
  23. parrot/crew/tools/bing.py +13 -0
  24. parrot/crew/tools/config.py +43 -0
  25. parrot/crew/tools/duckgo.py +62 -0
  26. parrot/crew/tools/file.py +24 -0
  27. parrot/crew/tools/google.py +168 -0
  28. parrot/crew/tools/gtrends.py +16 -0
  29. parrot/crew/tools/md2pdf.py +25 -0
  30. parrot/crew/tools/rag.py +42 -0
  31. parrot/crew/tools/search.py +32 -0
  32. parrot/crew/tools/url.py +21 -0
  33. parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
  34. parrot/handlers/__init__.py +4 -0
  35. parrot/handlers/bots.py +196 -0
  36. parrot/handlers/chat.py +169 -0
  37. parrot/interfaces/__init__.py +6 -0
  38. parrot/interfaces/database.py +29 -0
  39. parrot/llms/__init__.py +0 -0
  40. parrot/llms/abstract.py +41 -0
  41. parrot/llms/anthropic.py +36 -0
  42. parrot/llms/google.py +37 -0
  43. parrot/llms/groq.py +33 -0
  44. parrot/llms/hf.py +39 -0
  45. parrot/llms/openai.py +49 -0
  46. parrot/llms/pipes.py +103 -0
  47. parrot/llms/vertex.py +68 -0
  48. parrot/loaders/__init__.py +20 -0
  49. parrot/loaders/abstract.py +456 -0
  50. parrot/loaders/basepdf.py +102 -0
  51. parrot/loaders/basevideo.py +280 -0
  52. parrot/loaders/csv.py +42 -0
  53. parrot/loaders/dir.py +37 -0
  54. parrot/loaders/excel.py +349 -0
  55. parrot/loaders/github.py +65 -0
  56. parrot/loaders/handlers/__init__.py +5 -0
  57. parrot/loaders/handlers/data.py +213 -0
  58. parrot/loaders/image.py +119 -0
  59. parrot/loaders/json.py +52 -0
  60. parrot/loaders/pdf.py +187 -0
  61. parrot/loaders/pdfchapters.py +142 -0
  62. parrot/loaders/pdffn.py +112 -0
  63. parrot/loaders/pdfimages.py +207 -0
  64. parrot/loaders/pdfmark.py +88 -0
  65. parrot/loaders/pdftables.py +145 -0
  66. parrot/loaders/ppt.py +30 -0
  67. parrot/loaders/qa.py +81 -0
  68. parrot/loaders/repo.py +103 -0
  69. parrot/loaders/rtd.py +65 -0
  70. parrot/loaders/txt.py +92 -0
  71. parrot/loaders/utils/__init__.py +1 -0
  72. parrot/loaders/utils/models.py +25 -0
  73. parrot/loaders/video.py +96 -0
  74. parrot/loaders/videolocal.py +107 -0
  75. parrot/loaders/vimeo.py +106 -0
  76. parrot/loaders/web.py +216 -0
  77. parrot/loaders/web_base.py +112 -0
  78. parrot/loaders/word.py +125 -0
  79. parrot/loaders/youtube.py +192 -0
  80. parrot/manager.py +152 -0
  81. parrot/models.py +347 -0
  82. parrot/py.typed +0 -0
  83. parrot/stores/__init__.py +0 -0
  84. parrot/stores/abstract.py +170 -0
  85. parrot/stores/milvus.py +540 -0
  86. parrot/stores/qdrant.py +153 -0
  87. parrot/tools/__init__.py +16 -0
  88. parrot/tools/abstract.py +53 -0
  89. parrot/tools/asknews.py +32 -0
  90. parrot/tools/bing.py +13 -0
  91. parrot/tools/duck.py +62 -0
  92. parrot/tools/google.py +170 -0
  93. parrot/tools/stack.py +26 -0
  94. parrot/tools/weather.py +70 -0
  95. parrot/tools/wikipedia.py +59 -0
  96. parrot/tools/zipcode.py +179 -0
  97. parrot/utils/__init__.py +2 -0
  98. parrot/utils/parsers/__init__.py +5 -0
  99. parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
  100. parrot/utils/toml.py +11 -0
  101. parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
  102. parrot/utils/uv.py +11 -0
  103. parrot/version.py +10 -0
  104. resources/users/__init__.py +5 -0
  105. resources/users/handlers.py +13 -0
  106. resources/users/models.py +205 -0
  107. settings/__init__.py +0 -0
  108. settings/settings.py +51 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 phenobarbital
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,299 @@
1
+ Metadata-Version: 2.1
2
+ Name: ai-parrot
3
+ Version: 0.1.0
4
+ Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into aiohttp applications.
5
+ Home-page: https://github.com/phenobarbital/ai-parrot
6
+ Author: Jesus Lara
7
+ Author-email: jesuslara@phenobarbital.info
8
+ License: MIT
9
+ Project-URL: Source, https://github.com/phenobarbital/ai-parrot
10
+ Project-URL: Tracker, https://github.com/phenobarbital/ai-parrot/issues
11
+ Project-URL: Documentation, https://github.com/phenobarbital/ai-parrot/
12
+ Project-URL: Funding, https://paypal.me/phenobarbital
13
+ Project-URL: Say Thanks!, https://saythanks.io/to/phenobarbital
14
+ Keywords: asyncio,asyncpg,aioredis,aiomcache,langchain,chatbot,agents
15
+ Platform: POSIX
16
+ Classifier: Development Status :: 4 - Beta
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Environment :: Web Environment
20
+ Classifier: License :: OSI Approved :: MIT License
21
+ Classifier: Topic :: Software Development :: Build Tools
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Programming Language :: Python :: 3.9
24
+ Classifier: Programming Language :: Python :: 3.10
25
+ Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: 3.12
27
+ Classifier: Programming Language :: Python :: 3 :: Only
28
+ Classifier: Framework :: AsyncIO
29
+ Requires-Python: >=3.10.12
30
+ Description-Content-Type: text/markdown
31
+ License-File: LICENSE
32
+ Requires-Dist: Cython ==3.0.9
33
+ Requires-Dist: pymupdf ==1.24.4
34
+ Requires-Dist: pymupdf4llm ==0.0.1
35
+ Requires-Dist: pdf4llm ==0.0.6
36
+ Requires-Dist: PyPDF2 ==3.0.1
37
+ Requires-Dist: pdfminer.six ==20231228
38
+ Requires-Dist: pdfplumber ==0.11.0
39
+ Requires-Dist: bitsandbytes ==0.43.0
40
+ Requires-Dist: Cartopy ==0.22.0
41
+ Requires-Dist: chromadb ==0.4.24
42
+ Requires-Dist: contourpy ==1.2.0
43
+ Requires-Dist: datasets ==2.18.0
44
+ Requires-Dist: faiss-cpu ==1.8.0
45
+ Requires-Dist: fastavro ==1.9.4
46
+ Requires-Dist: GitPython ==3.1.42
47
+ Requires-Dist: gunicorn ==21.2.0
48
+ Requires-Dist: jq ==1.7.0
49
+ Requires-Dist: rank-bm25 ==0.2.2
50
+ Requires-Dist: matplotlib ==3.8.3
51
+ Requires-Dist: numba ==0.59.0
52
+ Requires-Dist: opentelemetry-sdk ==1.24.0
53
+ Requires-Dist: rapidocr-onnxruntime ==1.3.15
54
+ Requires-Dist: pytesseract ==0.3.10
55
+ Requires-Dist: python-docx ==1.1.0
56
+ Requires-Dist: python-pptx ==0.6.23
57
+ Requires-Dist: docx2txt ==0.8
58
+ Requires-Dist: pytube ==15.0.0
59
+ Requires-Dist: pydub ==0.25.1
60
+ Requires-Dist: markdownify ==0.12.1
61
+ Requires-Dist: librosa ==0.10.1
62
+ Requires-Dist: yt-dlp ==2024.4.9
63
+ Requires-Dist: moviepy ==1.0.3
64
+ Requires-Dist: safetensors ==0.4.2
65
+ Requires-Dist: sentence-transformers ==2.6.1
66
+ Requires-Dist: tabulate ==0.9.0
67
+ Requires-Dist: tiktoken ==0.6.0
68
+ Requires-Dist: tokenizers ==0.19.1
69
+ Requires-Dist: unstructured ==0.14.3
70
+ Requires-Dist: unstructured-client ==0.18.0
71
+ Requires-Dist: uvloop ==0.19.0
72
+ Requires-Dist: XlsxWriter ==3.2.0
73
+ Requires-Dist: youtube-transcript-api ==0.6.2
74
+ Requires-Dist: selenium ==4.18.1
75
+ Requires-Dist: webdriver-manager ==4.0.1
76
+ Requires-Dist: transitions ==0.9.0
77
+ Requires-Dist: sentencepiece ==0.2.0
78
+ Requires-Dist: duckduckgo-search ==5.3.0
79
+ Requires-Dist: google-search-results ==2.4.2
80
+ Requires-Dist: google-api-python-client >=2.86.0
81
+ Requires-Dist: gdown ==5.1.0
82
+ Requires-Dist: weasyprint ==61.2
83
+ Requires-Dist: markdown2 ==2.4.13
84
+ Requires-Dist: xformers ==0.0.25.post1
85
+ Requires-Dist: fastembed ==0.3.4
86
+ Requires-Dist: mammoth ==1.7.1
87
+ Requires-Dist: accelerate ==0.29.3
88
+ Requires-Dist: langchain >=0.2.6
89
+ Requires-Dist: langchain-community >=0.2.6
90
+ Requires-Dist: langchain-core ==0.2.10
91
+ Requires-Dist: langchain-experimental ==0.0.62
92
+ Requires-Dist: langchainhub ==0.1.15
93
+ Requires-Dist: langchain-text-splitters ==0.2.2
94
+ Requires-Dist: huggingface-hub ==0.23.5
95
+ Requires-Dist: llama-index ==0.10.20
96
+ Requires-Dist: llama-cpp-python ==0.2.56
97
+ Requires-Dist: asyncdb[all] >=2.7.10
98
+ Requires-Dist: querysource[analytics] >=3.10.1
99
+ Requires-Dist: yfinance ==0.2.40
100
+ Requires-Dist: youtube-search ==2.1.2
101
+ Requires-Dist: wikipedia ==1.4.0
102
+ Requires-Dist: mediawikiapi ==1.2
103
+ Requires-Dist: wikibase-rest-api-client ==0.2.0
104
+ Requires-Dist: asknews ==0.7.30
105
+ Requires-Dist: pyowm ==3.3.0
106
+ Requires-Dist: O365 ==2.0.35
107
+ Requires-Dist: langchain-huggingface ==0.0.3
108
+ Provides-Extra: analytics
109
+ Requires-Dist: annoy ==1.17.3 ; extra == 'analytics'
110
+ Requires-Dist: gradio-tools ==0.0.9 ; extra == 'analytics'
111
+ Requires-Dist: gradio-client ==0.2.9 ; extra == 'analytics'
112
+ Requires-Dist: streamlit ==1.37.1 ; extra == 'analytics'
113
+ Requires-Dist: simsimd ==4.3.1 ; extra == 'analytics'
114
+ Provides-Extra: anthropic
115
+ Requires-Dist: langchain-anthropic ==0.1.11 ; extra == 'anthropic'
116
+ Requires-Dist: anthropic ==0.25.2 ; extra == 'anthropic'
117
+ Provides-Extra: crew
118
+ Requires-Dist: colbert-ai ==0.2.19 ; extra == 'crew'
119
+ Requires-Dist: vanna ==0.3.4 ; extra == 'crew'
120
+ Requires-Dist: crewai[tools] ==0.28.8 ; extra == 'crew'
121
+ Provides-Extra: google
122
+ Requires-Dist: langchain-google-vertexai ==1.0.4 ; extra == 'google'
123
+ Requires-Dist: langchain-google-genai ==1.0.4 ; extra == 'google'
124
+ Requires-Dist: google-generativeai ==0.5.4 ; extra == 'google'
125
+ Requires-Dist: vertexai ==1.49.0 ; extra == 'google'
126
+ Requires-Dist: google-cloud-aiplatform ==1.49.0 ; extra == 'google'
127
+ Requires-Dist: grpc-google-iam-v1 ==0.13.0 ; extra == 'google'
128
+ Provides-Extra: groq
129
+ Requires-Dist: groq ==0.6.0 ; extra == 'groq'
130
+ Requires-Dist: langchain-groq ==0.1.4 ; extra == 'groq'
131
+ Provides-Extra: hunggingfaces
132
+ Requires-Dist: llama-index-llms-huggingface ==0.1.4 ; extra == 'hunggingfaces'
133
+ Provides-Extra: milvus
134
+ Requires-Dist: langchain-milvus ==0.1.1 ; extra == 'milvus'
135
+ Requires-Dist: milvus ==2.3.5 ; extra == 'milvus'
136
+ Requires-Dist: pymilvus ==2.4.4 ; extra == 'milvus'
137
+ Provides-Extra: openai
138
+ Requires-Dist: langchain-openai ==0.1.21 ; extra == 'openai'
139
+ Requires-Dist: openai ==1.40.3 ; extra == 'openai'
140
+ Requires-Dist: llama-index-llms-openai ==0.1.11 ; extra == 'openai'
141
+ Requires-Dist: tiktoken ==0.7.0 ; extra == 'openai'
142
+ Provides-Extra: qdrant
143
+ Requires-Dist: qdrant-client ==1.8.0 ; extra == 'qdrant'
144
+
145
+ # AI Parrot: Python package for creating Chatbots
146
+ This is an open-source Python package for creating Chatbots based on Langchain and Navigator.
147
+ This README provides instructions for installation, development, testing, and releasing Parrot.
148
+
149
+ ## Installation
150
+
151
+ **Creating a virtual environment:**
152
+
153
+ This is recommended for development and isolation from system-wide libraries.
154
+ Run the following command in your terminal:
155
+
156
+ Debian-based systems installation:
157
+ ```
158
+ sudo apt install gcc python3.11-venv python3.11-full python3.11-dev libmemcached-dev zlib1g-dev build-essential libffi-dev unixodbc unixodbc-dev libsqliteodbc libev4 libev-dev
159
+ ```
160
+
161
+ For Qdrant installation:
162
+ ```
163
+ docker pull qdrant/qdrant
164
+ docker run -d -p 6333:6333 -p 6334:6334 --name qdrant -v $(pwd)/qdrant_storage:/qdrant/storage:z qdrant/qdrant
165
+ ```
166
+
167
+ For VertexAI, creates a folder on "env" called "google" and copy the JSON credentials file into it.
168
+
169
+ ```bash
170
+ make venv
171
+ ```
172
+
173
+ This will create a virtual environment named `.venv`. To activate it, run:
174
+
175
+ ```bash
176
+ source .venv/bin/activate # Linux/macOS
177
+ ```
178
+
179
+ Once activated, install Parrot within the virtual environment:
180
+
181
+ ```bash
182
+ make install
183
+ ```
184
+ The output will remind you to activate the virtual environment before development.
185
+
186
+ **Optional** (for developers):
187
+ ```bash
188
+ pip install -e .
189
+ ```
190
+
191
+ ## Start http server
192
+ ```bash
193
+ python run.py
194
+ ```
195
+
196
+ ## Development Setup
197
+
198
+ This section explains how to set up your development environment:
199
+
200
+ 1. **Install development requirements:**
201
+
202
+ ```bash
203
+ make setup
204
+ ```
205
+
206
+ This installs development dependencies like linters and test runners mentioned in the `docs/requirements-dev.txt` file.
207
+
208
+ 2. **Install Parrot in editable mode:**
209
+
210
+ This allows you to make changes to the code and test them without reinstalling:
211
+
212
+ ```bash
213
+ make dev
214
+ ```
215
+
216
+ This uses `flit` to install Parrot in editable mode.
217
+
218
+
219
+ ### Usage (Replace with actual usage instructions)
220
+
221
+ *Once you have set up your development environment, you can start using Parrot.*
222
+
223
+ #### Test with Code ChatBOT
224
+ * Set environment variables for:
225
+ [google]
226
+ GOOGLE_API_KEY=apikey
227
+ GOOGLE_CREDENTIALS_FILE=.../credentials.json
228
+ VERTEX_PROJECT_ID=vertex-project
229
+ VERTEX_REGION=region
230
+
231
+ * Run the chatbot:
232
+ ```bash
233
+ python examples/test_agent.py
234
+ ```
235
+
236
+ ### Testing
237
+
238
+ To run the test suite:
239
+
240
+ ```bash
241
+ make test
242
+ ```
243
+
244
+ This will run tests using `coverage` to report on code coverage.
245
+
246
+
247
+ ### Code Formatting
248
+
249
+ To format the code with black:
250
+
251
+ ```bash
252
+ make format
253
+ ```
254
+
255
+
256
+ ### Linting
257
+
258
+ To lint the code for style and potential errors:
259
+
260
+ ```bash
261
+ make lint
262
+ ```
263
+
264
+ This uses `pylint` and `black` to check for issues.
265
+
266
+
267
+ ### Releasing a New Version
268
+
269
+ This section outlines the steps for releasing a new version of Parrot:
270
+
271
+ 1. **Ensure everything is clean and tested:**
272
+
273
+ ```bash
274
+ make release
275
+ ```
276
+
277
+ This runs `lint`, `test`, and `clean` tasks before proceeding.
278
+
279
+ 2. **Publish the package:**
280
+
281
+ ```bash
282
+ make release
283
+ ```
284
+
285
+ This uses `flit` to publish the package to a repository like PyPI. You'll need to have publishing credentials configured for `flit`.
286
+
287
+
288
+ ### Cleaning Up
289
+
290
+ To remove the virtual environment:
291
+
292
+ ```bash
293
+ make distclean
294
+ ```
295
+
296
+
297
+ ### Contributing
298
+
299
+ We welcome contributions to Parrot! Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
@@ -0,0 +1,108 @@
1
+ parrot/__init__.py,sha256=oBpxNjpQcJpAHWZU6Hi0tBMGTpTaJEKDXHbfAhqZZAQ,333
2
+ parrot/conf.py,sha256=6kiE38EgnPxtjJc1dde6QCacXZOByne7mWHI8_7_M-E,4150
3
+ parrot/exceptions.cpython-311-x86_64-linux-gnu.so,sha256=p2epCb17B2DCUg3-CZizDQIsIXBhRph07DeJ1Egp8Z0,297896
4
+ parrot/manager.py,sha256=UShLbqfNyPvnGYHzprzQYwu_oj1L-Mhhk2qMRRnsfwo,5187
5
+ parrot/models.py,sha256=GlyWMe2OCgM9dySm2BzK60yKOMHqFth7TYHidTWnioY,12513
6
+ parrot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ parrot/version.py,sha256=JhX3p58JOZ_NOGA2KeSy5_F1V-BPCf-j5PB_1iDw7yc,373
8
+ parrot/chatbots/__init__.py,sha256=nsu6UPfb6ATv7U9IEHSe2HoGOE9LKLhiFm9gXWjjbMI,201
9
+ parrot/chatbots/abstract.py,sha256=sm4zzapNG_CF_uZrYp91GHMo2SJrOgChX1L-7DHceOo,32968
10
+ parrot/chatbots/asktroc.py,sha256=gyWzyvpAnmXwXd-3DEKoIJtAxt6NnP5mUZdZbkFky8s,604
11
+ parrot/chatbots/base.py,sha256=fXqCzxeA2dU2wYlOV7jCMF4S9_8ohqGMdUfm2VQTfQQ,8054
12
+ parrot/chatbots/basic.py,sha256=DIMTPoGc90BRSlokeOdnjlEXAAfZlIFqxXWaMyAX9uk,232
13
+ parrot/chatbots/bose.py,sha256=z8rm8G_tAwHjDUodXfrAKnhaMzufQyf-GrhxwHeHle4,757
14
+ parrot/chatbots/cody.py,sha256=Z0LNiNtZjEe7bA3hwexclBZK5zEF9m2ODVmrzZjC3Bw,623
15
+ parrot/chatbots/copilot.py,sha256=lnlqVXzk4orm-f3qU5iRswwW7WRMV_BISUqw2o0Krzo,4749
16
+ parrot/chatbots/dataframe.py,sha256=CfZiLKIwnaku52nl2PNjciqRlH8m2lM4buO6xI7P408,3914
17
+ parrot/chatbots/hragents.py,sha256=PyNIBJ2OH5CtfVydccgpY50V6GI3cLKuVdOMaa7sQz0,574
18
+ parrot/chatbots/oddie.py,sha256=RMbANmJZP1_vLVGKRNBKmA8otyAiWPkvpA0rJ0U3tZk,796
19
+ parrot/chatbots/retrievals/__init__.py,sha256=GOidRGK4O6d0msMC0czIVoscyRvC6YkR8qJGvqqCJec,17404
20
+ parrot/chatbots/retrievals/constitutional.py,sha256=x7kFR0KpmkR0Wz6bXNOeU3Hesn_EXc6eOSd4TdXxb8o,600
21
+ parrot/crew/__init__.py,sha256=oWLEWNNdYHB2AZUDUZVlSsdMOJiWamvM-jVZ8SzoWQE,77
22
+ parrot/crew/tools/__init__.py,sha256=n2nXEVl8VeWmdI_NyGbiVTAq_S51ebNExuyRM7u9SeI,569
23
+ parrot/crew/tools/bing.py,sha256=4Qn8Az0y_1yrK33YFHnUM6hmP0lKcwu-QtCQ5mqQVjY,471
24
+ parrot/crew/tools/config.py,sha256=gRYK08SKGYBYWA5HxzNWmh3VxbVkxzcmic9oFQk4FMY,1056
25
+ parrot/crew/tools/duckgo.py,sha256=nxs4trp1OzQOYMnV3rxKPxU409Y_NO-hFHY1Z10EGTw,1932
26
+ parrot/crew/tools/file.py,sha256=xm76j0VxsCvykmYGZqFCP9Ui_TZl6ddjrZfgKxSJXYY,790
27
+ parrot/crew/tools/google.py,sha256=UMBtEdTNGstzhO6UzcSePVbAx3U9JLiKU8SN_-JiWyE,6072
28
+ parrot/crew/tools/gtrends.py,sha256=PY6jBfO2IUWU2nhgo_hl_VVPbK9ProYBuApS9gJV9kM,576
29
+ parrot/crew/tools/md2pdf.py,sha256=h4w0S53ACchlkgpqejxSZjBAs5KnoXwmsfTRGFqlJZE,899
30
+ parrot/crew/tools/rag.py,sha256=sTp20-77Ui_3J-gItztVLb4Vinl2BVqTNSbTDikrj0g,1406
31
+ parrot/crew/tools/search.py,sha256=itWpJD_78IXVtBSKrQIAamCPLbejwmUj1oCBKqBxvO0,1055
32
+ parrot/crew/tools/url.py,sha256=m5v9XFQPotHRID7NmY-NQVmXtXEJvfly6tFMslL8U_0,682
33
+ parrot/handlers/__init__.py,sha256=WKn2yg4pSi5-IivkQ34uHSfTG7f1nYj4jB8-4wNG2_A,64
34
+ parrot/handlers/bots.py,sha256=GG2W8y_GC71f8_mMHxwAYP-ope7ecNP_GShL9c66_uY,5782
35
+ parrot/handlers/chat.py,sha256=zgb-vW1SeUCHSwi_ov2m6pepvMvLhy-i8lmSTRtOzY0,5475
36
+ parrot/interfaces/__init__.py,sha256=m3FpxsFeEKq_hvQR9YRGAhZS6u8LZZBuzf6-njugiHE,69
37
+ parrot/interfaces/database.py,sha256=PHy133KTqa9K0tALOQt1q0ufwUZ4n7rndZrhob6Wbk4,609
38
+ parrot/llms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
+ parrot/llms/abstract.py,sha256=JehPe-ZVkTCEprdvCkMiiEPs0KwbS7gBxYygeACB4Dg,1261
40
+ parrot/llms/anthropic.py,sha256=nlssKneNRBY_o3iycMO0xDi2azH3b7VZGZmiC3XeZ6I,1099
41
+ parrot/llms/google.py,sha256=cQGse8QdNL1bGtULoTO3UhXbd_l2Qqz65LkhUhwTjbQ,1191
42
+ parrot/llms/groq.py,sha256=rhmRKVyOjHjyBi1fu1HBlTg1I9LPzLiU9DP3-fBCGgE,1152
43
+ parrot/llms/hf.py,sha256=5EEZE6cJ1Q4WhaQ16A8ca2hS7u3QQnTFnf85jM2DbgU,1440
44
+ parrot/llms/openai.py,sha256=_SfkqlCa5oDYsiAN7oHJhfzROGI5-_t_GAaBL77YLX0,1500
45
+ parrot/llms/pipes.py,sha256=TQ6w8MmheE4EAimQY8hGASiUKHBwaBW71j5Dmtldkf0,3562
46
+ parrot/llms/vertex.py,sha256=y7l40_gR03lgeC--ITS4McnoXwAeRkkgGgeOBxmXIzU,2317
47
+ parrot/loaders/__init__.py,sha256=LGEaj54DP3FA5-C2IDaA8u-MF4lj-Lbd_Mx5R19qHYY,665
48
+ parrot/loaders/abstract.py,sha256=_tsGDb7TracwkL20J2VYd5hC9MR262c2mmS9VvYB4vM,15870
49
+ parrot/loaders/basepdf.py,sha256=Qh_hzR0JArQEVP31SgWt9utt7qWmbfwVoCzUDyBHcXw,3243
50
+ parrot/loaders/basevideo.py,sha256=WcX-q0Rn_E1dYurbA1eH5NOcUBdOye2iWiFTCY_DVgo,10292
51
+ parrot/loaders/csv.py,sha256=DLcFK3z9boMNH3y9Qca5BWDfYXgXjXsGkzxVN1_2wyo,1103
52
+ parrot/loaders/dir.py,sha256=_CU9kWGCpHnZplUamXLs2yEizA1aCRBASn3F6MggitQ,866
53
+ parrot/loaders/excel.py,sha256=Y1agxm-jG4AgsA2wlPP3p8uBH40wYW1KM2ycTTLKUm4,12441
54
+ parrot/loaders/github.py,sha256=CscyUIqoHTytqCbRUUTcV3QSxI8XoDntq5aTU0vdhzQ,2593
55
+ parrot/loaders/image.py,sha256=A9KCXXoGuhDoyeJaascY7Q1ZK12Kf1ggE1drzJjS3AU,3946
56
+ parrot/loaders/json.py,sha256=6B43k591OpvoJLbsJa8CxJue_lAt713SCdldn8bFW3c,1481
57
+ parrot/loaders/pdf.py,sha256=flGlUf9dLAD2Uh8MkvLP27OU1nvroeHU2HM5a3rBH3M,7996
58
+ parrot/loaders/pdfchapters.py,sha256=YhA8Cdx3qXBR0vuTVnQ12XgH1DXT_rp1Tawzh4V2U3o,5637
59
+ parrot/loaders/pdffn.py,sha256=gA-vJEWUiIUwbMxP8Nmvlzlcb39DVV69vGKtSzavUoI,4004
60
+ parrot/loaders/pdfimages.py,sha256=4Q_HKiAee_hALBsG2qF7PpMgKP1AivHXhmcsCkUa9eE,7899
61
+ parrot/loaders/pdfmark.py,sha256=LG_Vh-Py7RnLkQfmt0_2kWc1J6GpxB6f_jzUE0fsZ98,2956
62
+ parrot/loaders/pdftables.py,sha256=XSanrv40IstQVe5_zOPcPrVH_v0scrdMShOYGgiedmc,4767
63
+ parrot/loaders/ppt.py,sha256=6XailMQeQBFMzaSCvNJTHtfpzunTJRatytGT6o3v8-c,832
64
+ parrot/loaders/qa.py,sha256=l8Nif3x85TJvNVQsY5XbHB_zrv-PeeytR0OXefAV4lk,2644
65
+ parrot/loaders/repo.py,sha256=vBqBAnwU6p3_DCvI9DVhi1Bs8iCDYHwFGp0P9zvGRyw,3737
66
+ parrot/loaders/rtd.py,sha256=oKOC9Qn3iwulYx5BEvXy4_kusKRsy5RLYNHS-e5p-1k,1988
67
+ parrot/loaders/txt.py,sha256=AeGroWffFT--7TYlTSTr5Av5zAr8YIp1fxt8r5qdi-A,2802
68
+ parrot/loaders/video.py,sha256=pl5Ho69bp5vrWMqg5tLbsnHUus1LByTDoL6NPk57Ays,2929
69
+ parrot/loaders/videolocal.py,sha256=QjCoiDREkpSyyVQ8yDZefzV2g24Gz4VUF4Eiei6v-dY,3791
70
+ parrot/loaders/vimeo.py,sha256=zOvOOIiaZr_bRswJFI7uIMKISgALOxcSim9ZRUFY1Fc,4114
71
+ parrot/loaders/web.py,sha256=3x06JNpfTGFtvSBPAEBVoVdZkpVXePcJeMtj61B2xJk,8867
72
+ parrot/loaders/web_base.py,sha256=5SjQddT0Vhne8C9s30iU3Ex_9O1PJ8kyDmy8EdhGBo0,4380
73
+ parrot/loaders/word.py,sha256=9rIb1cHWDVTSUqUpwxjwP6lkCEJlEUaH8G6Y86qZ7do,4531
74
+ parrot/loaders/youtube.py,sha256=yNilbmuQs_eeT6eNkvaqLqc6yYu9LvZx-3jMvvGlpZw,7743
75
+ parrot/loaders/handlers/__init__.py,sha256=ksEDtUOEJELmyCIi0KNv7tR2fCUyADBVkwCcyqN_sVE,70
76
+ parrot/loaders/handlers/data.py,sha256=olZ2p-wyUMGoazah7tgHY7V9buGX1FOeJ-cv2vGEoH8,7386
77
+ parrot/loaders/utils/__init__.py,sha256=SkDyK3MuPGhp0NM6kHvaxQDe97Gcl3n9t5A741OVh1c,28
78
+ parrot/loaders/utils/models.py,sha256=BHcnFzS7oOKUGG-vPy_TlqeFNAC8puRgsIMX2mSgKxY,1059
79
+ parrot/stores/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
+ parrot/stores/abstract.py,sha256=LdI7taO_gC7YIzFaKlHXY6Kfbd-dpksYCJBYhyd3kLs,5076
81
+ parrot/stores/milvus.py,sha256=V9VkejSNQxhGS4ByiHIJKtKx_QSHdb1j_rBKuLm8oY0,17993
82
+ parrot/stores/qdrant.py,sha256=y-jG5sB6ICESyxdpyGBhQ-hgTDLxxPtM5xYZTWIRiAY,4720
83
+ parrot/tools/__init__.py,sha256=lIPK9acoJE2wmxmfbFIQl6dEpUcsBAkapLWvnP_RWG0,669
84
+ parrot/tools/abstract.py,sha256=pVSZw8MDpbVcQ-CHaGwP6CpqXHIs8hH8Oy1AqUuMmrw,1706
85
+ parrot/tools/asknews.py,sha256=hEpPJMyNBVfj2maHbqnumn3VkY45oFvrjkE3Rq8EdGA,1039
86
+ parrot/tools/bing.py,sha256=BtmFD66OIuCaOue5U2_yIqtjWf24IhEgNOX1LAVvHtA,464
87
+ parrot/tools/duck.py,sha256=UAAZzlF-Q0sZh0_IcS96dwSgCuBPdeepkwRrMM5cJPY,1920
88
+ parrot/tools/google.py,sha256=NjijcUWH6Crk5Uty_x3FstjDTGZV8JXfBFDQEtMHhac,6236
89
+ parrot/tools/stack.py,sha256=M-VRWjIDa18bl5p88dSKtxMj4Kn21YB76to0u6yXA30,942
90
+ parrot/tools/weather.py,sha256=4v9Ft5lkVzb9Pg7afNs7BK5T3WEcsZbHPlBrF9oXSo8,2541
91
+ parrot/tools/wikipedia.py,sha256=oadBTRAupu2dKThEORSHqqVs4u0G9lWOltbP6vSZgPE,1999
92
+ parrot/tools/zipcode.py,sha256=knScSvKgK7bHxyLcBkZFiMs65e-PlYU2_YhG6mohcjU,6440
93
+ parrot/utils/__init__.py,sha256=vkBIvfl9-0NRLd76MIZk4s49PjtF_dW5imLTv_UOKxM,101
94
+ parrot/utils/toml.py,sha256=CVyqDdAEyOj6AHfNpyQe4IUvLP_SSXlbHROYPeadLvU,302
95
+ parrot/utils/types.cpython-311-x86_64-linux-gnu.so,sha256=kdox48-JUzj92QP6amGOCTIEQhrBUMn6qzrhX1u17CY,791912
96
+ parrot/utils/uv.py,sha256=Mb09bsi13hhi3xQDBjEhCf-U1wherXl-K4-BLcSvqtc,308
97
+ parrot/utils/parsers/__init__.py,sha256=l82uIu07QvSJ8Xt0d_seei9n7UUL8PE-YFGBTyNbxSI,62
98
+ parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so,sha256=vdQTxL4AyxinDpoDVk0Syx-ycDL02OmXESJOtiVFl0A,451056
99
+ resources/users/__init__.py,sha256=sdXUV7h0Oogcdru1RrQxbm9_RcMjftf0zTWqvxBVpO8,151
100
+ resources/users/handlers.py,sha256=BGzqBvPY_OaIF_nONWX4b_B5OyyBrdGuSihIsdlFwjk,291
101
+ resources/users/models.py,sha256=glk7Emv7QCi6i32xRFDrGc8UwK23_LPg0XUOJoHnwRU,6799
102
+ settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
+ settings/settings.py,sha256=9ueEvyLNurUX-AaIeRPV8GKX1c4YjDLbksUAeqEq6Ck,1854
104
+ ai_parrot-0.1.0.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
105
+ ai_parrot-0.1.0.dist-info/METADATA,sha256=fwcnN1ALMLoPQXvSMDnjAPZ7xIFa2bMeJMgQeEYMZmk,9336
106
+ ai_parrot-0.1.0.dist-info/WHEEL,sha256=czZm5XKxt3lM6KcAi6fwGhndrA0uZKYAkkvqX1vZAww,113
107
+ ai_parrot-0.1.0.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
108
+ ai_parrot-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (72.1.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp311-cp311-manylinux_2_28_x86_64
5
+
@@ -0,0 +1,3 @@
1
+ parrot
2
+ resources
3
+ settings
parrot/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ # -*- coding: utf-8 -*-
2
+ """Navigator Parrot.
3
+
4
+ Basic Chatbots for Navigator Services.
5
+ """
6
+ from pathlib import Path
7
+ from .version import (
8
+ __author__,
9
+ __author_email__,
10
+ __description__,
11
+ __title__,
12
+ __version__
13
+ )
14
+
15
+ def get_project_root() -> Path:
16
+ return Path(__file__).parent.parent
17
+
18
+ ABS_PATH = get_project_root()
@@ -0,0 +1,7 @@
1
+ from .abstract import AbstractChatbot
2
+ from .basic import Chatbot
3
+ from .asktroc import AskTROC
4
+ from .hragents import HRAgent
5
+ from .bose import BoseBot
6
+ from .oddie import OddieBot
7
+ from .cody import Cody